package com.cxs.xiaomi.domain;


/*
 * @Author:cxs
 * @Date:2021/9/14  15:04
 * @Version 1.0
 * @Motto:放下杂念,只为迎接明天更好的自己
 * */
public class GoodsType {
    private Integer id;
    private String name;
    private Integer level;
    private Integer Parent;

    public GoodsType() {
    }

    public GoodsType(Integer id, String name, Integer level, Integer parent) {
        this.id = id;
        this.name = name;
        this.level = level;
        Parent = parent;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getParent() {
        return Parent;
    }

    public void setParent(Integer parent) {
        Parent = parent;
    }

    @Override
    public String toString() {
        return "GoodsType{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", level=" + level +
                ", Parent=" + Parent +
                '}';
    }
}
